package com.situ.ftbserver.service;

import com.situ.ftbserver.model.Course;
import com.situ.ftbserver.model.search.CourseSearchBean;
import com.situ.ftbserver.util.PaginateInfo;

import java.util.List;
import java.util.Map;

public interface CourseService {
    List<Course> findAll(PaginateInfo pi, CourseSearchBean csb);

    int  delete(Integer[] ids);

    boolean save(Course course);

    boolean update(Course course);

    List<Course> getCourse();

    List<Course> findByCoachId(Integer[] ids);

    List<Map<String, Object>> getPopularCourse();

}
